import yRequest from "../request"

/**
 * @description: 查询课程列表
 */
export function queryCourse(data = {}, config = {}) {
  return yRequest.post("queryCourse", "/course/list", data, config)
}

/**
 * @description: 查询培训机构列表
 */
export function institutionList(data, config) {
  return yRequest.post("institutionList", "/train/institution/list", data, config)
}

/**
 * @description: 查询培训机构详情
 */
export function institutionInfo(data, config) {
  return yRequest.post("institutionInfo", "/train/institution/get", data, config)
}


/**
 * @description: 查询培训课程详情
 */
export function courseInfo(data, config) {
  return yRequest.post("courseInfo", "/course/get", data, config)
}

